﻿<Window x:Class="ResourceBlender_Express.WinCompletionSummary"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:loc="clr-namespace:ResourceBlender_Express"
    loc:WindowService.EscapeClosesWindow="True"
    Title="Completion Summary" Loaded="Window_Loaded"
    MinHeight="310" MinWidth="380" Height="450" Width="550"
    WindowStartupLocation="CenterOwner"
    Style="{StaticResource {x:Type Window}}" Icon="/ResourceBlender-Express;component/Resources/images/resourceblender.ico">
    <Window.Resources>
        <DataTemplate DataType="{x:Type loc:ApplicationSummary}">
            <StackPanel>
                <TextBlock FontSize="18" FontWeight="Bold" Text="{Binding DisplayName,StringFormat=Resource Summary for {0}}" />
                <TextBlock Text="{Binding TotalElements,StringFormat={}{0} elements overall}" />
                <TreeView Margin="0,5,0,10" >
                    <TreeViewItem Header="Bundles" ItemsSource="{Binding Bundles}" />
                </TreeView>
            </StackPanel>
        </DataTemplate>
    </Window.Resources>
    <DockPanel LastChildFill="True">
        <StatusBar DockPanel.Dock="Bottom" Height="24">
            <StatusBarItem x:Name="lblStatus" Visibility="Collapsed">Loading</StatusBarItem>
            <StatusBarItem>
                <ProgressBar x:Name="prgStatus" IsIndeterminate="True" Visibility="Hidden" />
            </StatusBarItem>
        </StatusBar>
        <TabControl x:Name="tbcSummaries" DockPanel.Dock="Top">
            
        </TabControl>
    </DockPanel>
</Window>
